package view;

import java.io.PrintWriter;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class VoteServlet
 */
@WebServlet("/Rate")
public class RateServlet extends Servlet {
	private static final long serialVersionUID = 1L;

	private void rate(long idWork, int grade) {
		// TODO chamar procedure no banco para avaliar o trabalho
	}

	@Override
	void fillGetContent(HttpServletRequest request, HttpServletResponse response, PrintWriter out) {
		// TODO Auto-generated method stub

	}

	@Override
	void fillPostContent(HttpServletRequest request, HttpServletResponse response, PrintWriter out) {
		// TODO Auto-generated method stub

	}

}
